package com.haiya.domain.model;

import com.haiya.domain.model.identity.User;
import com.haiya.repository.TenantRepository;
import com.haiya.repository.UserRepository;
import com.haiya.services.EncryptionService;

/**
 * @author qiaoguoqiang
 */
public class DomainRegistry {
    public static TenantRepository tenantRepository() {
        return new TenantRepository();
    }

    public static EncryptionService encryptionService() {
        return new EncryptionService();
    }

    public static UserRepository userRepository() {
        return new UserRepository();
    }
}
